package org.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class TestController {

    @GetMapping("/hello")
    public Object hello(){
        Map<String,Object> result = new HashMap<>();
        result.put("key","a001");
        result.put("name","david");
        return result;
    }



}
